<div>
	<div class="header">
		<a href="javascript:Global.backHome();" class="btn btnleft">返回</a>
		<h1>{{headerName}}</h1>
		<a href="#productcreate" class="btn btnright">发布</a>
	</div>
	<div class="content">
		<div style="margin:5px;">
			<form role="form">
				<div class="form-group" style="margin-bottom:0px;">
					<input type="text" class="form-control" id="search" placeholder="产品关键字（至少两个）">
				</div>
			</form>
		</div>
		<div class="scroller" style="margin:4px;border:1px solid green;">
<!-- 				<div id="pullDown"> -->
<!-- 					<span class="pullDownIcon"></span><span class="pullDownLabel">Pull down to refresh...</span> -->
<!-- 				</div> -->
			<ul class="list" id="myproductsalelist">
			</ul>
<!-- 				<div id="pullUp"> -->
<!-- 					<span class="pullUpIcon"></span><span class="pullUpLabel">Pull up to refresh...</span> -->
<!-- 				</div> -->
		</div>
	</div>
	<div class="footer">
		<div class="row">
			<div class="col-xs-3"><a href="#guidepage"><div class="icon icon-green"></div><div>绿色通道</div></a></div>
			<div class="col-xs-3 persist"><a href="#marketpage"><div class="icon icon-sale-persist"></div><div>逛逛市场</div></a></div>
			<div class="col-xs-3"><a href="#parterpage"><div class="icon icon-parter"></div><div>我的伙计</div></a></div>
			<div class="col-xs-3"><a href="#userpage"><div class="icon icon-user"></div><div>用户中心</div></a></div>
		</div>
	</div>
	<script type="text/javascript">
	Global.loading();
// 	$.ajax({
// 		type: 'GET',
//     	url: GLOBAL_CONTEXT_PATH + '/product/listJsonItems.html?product.saleType=0',
//     	dataType: 'json',
//     	crossDomain: true,
//     	processData: true,
//     	success: function (data){
//     		$('#myproductsalelist').html(Global.loadFragment('listitems', data));
//             Global.setItem("listsaleitems", data);
//     		Global.loaded();
//     	},
//     	error:function(msg) {
//     		Global.longToast(msg);
//     		$('#myproductsalelist').html(Global.loadFragment('listitems', Global.getItem("listsaleitems")));
//     		Global.loaded();
//     	}
// 	});
// 	var myScroll;
// 	function loaded() {
// 		myScroll = new iScroll('wrapper');
// 	}
	$.ajax({
		type: 'GET',
    	url: 'seeds/product-list-page.txt',
    	success: function (data){
        	$('#myproductsalelist').html(data);
        	Global.loaded();
        	//loaded();
    	}
	});
	<{{!}}/script>
</div>